package com.wanmait.wisdom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wanmait.wisdom.entity.Owner;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* Created by Mybatis Generator 2024/04/27
*/
public interface OwnerMapper extends BaseMapper<Owner> {
    int deleteByPrimaryKey(Integer id);

    int insert(Owner record);

    int insertSelective(Owner record);

    Owner selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Owner record);

    int updateByPrimaryKey(Owner record);

    List<Owner> selectAllOwnerInfo();

    Owner selectOwnerById(Integer id);

    List<Owner> findOwnerByCondition(@Param("owner") Owner owner, @Param("startTime")Date startTime,@Param("endTime") Date endTime);
}
